package com.easy.yours.biz.controller;

import com.easy.system.controller.BaseController;
import com.easy.yours.biz.model.Clazz;
import com.easy.yours.biz.model.Demo;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IDEA.
 * User: sunguangzhu
 * Date: 13-7-1
 * Time: 上午9:03
 * To change this template use File | Settings | File Templates.
 */
@Controller
public class ClazzController extends BaseController<Clazz> {
    public ClazzController() {
    	super.setControllerClass(this.getClass());
        super.setClazz(Clazz.class);
    }

  /*  @Override
    protected Condition getSearchCondtion(HttpServletRequest request) throws Exception {
        String property1=request.getParameter("property1");
        Condition condition = new Condition(Demo.class.getSimpleName());
        List<Condition> conditions = new ArrayList<Condition>();
        conditions.add(new Condition("and", "property1", "like", "%"+property1+"%"));
        condition.setChildren(conditions);
        return super.getSearchCondtion(request);    //To change body of overridden methods use File | Settings | File Templates.
    }*/
}
